On the Improvement of Cyclomatic Complexity Metric
نویسندگان
چکیده
Complexity is always considered as an undesired property in software since it is a fundamental reason of decreasing software quality. Measuring the complexity using some metrics is one of the important factors that were made by many research activities in order to avoid complex software. In this paper, we analyze the effectiveness of complexity in security, maintainability and errors prediction; we introduce the role of design phase in the software life cycle and the importance of the measurement in this level. We present a study of different software metrics that can be used to measure the complexity of a system during the design phase, and highlight the cyclomatic complexity metric introduced by McCabe which was studied extensively by most researchers. We also propose an improvement of cyclomatic complexity metric which aims to measure both the intra-modular and the inter-modular complexity of a system.
منابع مشابه
A measure of program nesting complexity
For more than a decade, metrics of software complexity has been an intriguing topic for discussion. Many metrics have been proposed. Among them, the cyclomatic complexity metric is the easiest to understand and compute. In this paper, the cyclomatic complexity metric and its extensions are reviewed. The strengths and weaknesses of the cyclomatic metric are identified. One of the major weaknesse...
متن کاملExtended Cyclomatic Complexity Metric for XML Schemas
Extensible Markup Language (XML) plays an extremely important role in the Web application development process. It is a universal format for data and has been adopted for exchanging information among distributed applications. Because XML documents are usually large, it is necessary to find ways to enhance their ease of use and maintainability by keeping their complexity low. In this research, we...
متن کاملCyclomatic Complexity Metrics Revisited: an Empirical Study of Software Development and Maintenance Comments Were Received from Bill Curtis on an Earlier Draft
While the need for software metrics to aid in the assessment of software complexity for both development and maintenance has been widely argued, little agreement has been reached on the appropriateness and value of any single metric. McCabe's cyclomatic complexity metric, a measure of the maximum number of linearly independent circuits in a program control graph has been widely used in research...
متن کاملStructured Testing: A Testing Methodology Using the Cyclomatic Complexity Metric
................................................................................................ iii
متن کاملA critique of cyclomatic complexity as a software metric
McCabe’s cyclomatic complexity metric is widely cited a s a useful predictor of various software attributes such a s reliability and development effort. This critique demonstrates that it is based upon poor theoretical foundations and an inadequate model of software development. The argument that the metric provides the developer with a useful engineering approximation is not borne out by the e...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013